// 请求url
const apiUrls = {
  mock: 'https://console-mock.apipost.cn/app/mock/project/2b4d7907-6bc3-45a4-b219-ff435f4b4bea',
  prod: 'http://localhost:3030/api',
}

// mock的数据配置
export const mockConfig = {
  columnid: '123',
  postid: '123',
}
const mode = import.meta.env.VITE_MOCK || 'prod'
console.log('当前模式为====>', import.meta.env.VITE_MOCK)
console.log('当前环境为====>', import.meta.env.MODE)
export const requestOptions = {
  url: apiUrls[mode],
}
console.log(requestOptions.url)
